﻿--[[	$Id: hunter.lua 2247 2011-11-22 03:44:26Z sdkyron@gmail.com $	]]

if GetLocale() ~= "frFR" then return end

if caelLib.playerClass ~= "HUNTER" then return end

local _, gotMacros = ...

gM_Macros = {
	["T1"] = {
		icon = [=[Interface\Icons\Ability_Hunter_MasterMarksman]=],
		body = [=[/cleartarget [exists]
			/assist [target=pet, exists]Pet
			/stopmacro [target=pettarget, exists]
			/targetenemy [target=pet, dead][target=pet, noexists]]=],
		class = "HUNTER",
	},
	["Foc"] = {
		icon = [=[Interface\Icons\Ability_Hunter_MasterMarksman]=],
		body = [=[/castsequence [harm] reset=0 Hunter's Mark, null
			/focus [help, nodead]]=],
		blizzmacro = true,
		perChar = true,
		class = "HUNTER",
	},
	["MisD"] = {
		show = "Misdirection",
		body = [=[/cast [help][target=focus, help][target=pet, exists, nodead] Misdirection]=],
		blizzmacro = true,
		perChar = true,
		class = "HUNTER",
	},
	["RfRd"] = {
		body = [=[/castsequence reset=3 Rapid Fire, Readiness, null]=],
		class = "HUNTER",
	},
	["KillS"] = {
		show = "Kill Shot",
		body = [=[/stopmacro [noharm][dead]
			/stopcasting
			/castsequence reset=2 Kill Shot, Kill Shot, null]=],
		blizzmacro = true,
		perChar = true,
		class = "HUNTER",
	},
	["Tranq"] = {
		show = "Tranquilizing shot",
		body = [=[/cast [target=mouseover, exists] Tranquilizing Shot]=],
		blizzmacro = true,
		perChar = true,
		class = "HUNTER",
	},
	["TGT1"] = {
		show = "Hunter's Mark",
		body = [=[/targetenemy [noexists][noharm][dead]
			/cast [nopet]Call Pet 3
			/castsequence [harm]reset=target Hunter's Mark, null
			/petpassive [target=pettarget,exists]
			/stopmacro [target=pettarget,exists]
			/petassist
			/petattack]=],
		blizzmacro = true,
		perChar = true,
		class = "HUNTER",
		spec = 1,
	},
	["BmR"] = {
		show = "Arcane Shot",
		body = [=[/click [noexists][noharm][dead] gotMacros_T1
			/click [combat, harm, nodead] gotMacros_CDsAll
			/click [combat, harm, nodead] gotMacros_CDsBM
			/click [modifier, combat, harm, nodead] gotMacros_RfRd
			/click [harm, nodead] gotMacros_RotA]=],
		blizzmacro = true,
		perChar = true,
		class = "HUNTER",
		spec = 1,
	},
	["RotA"] = {
		body = [=[/cast !Auto Shot
			/click gotMacros_SrSa
			/click gotMacros_ArcSa]=],
		nosound = true,
		class = "HUNTER",
		spec = 1,
	},
	["SrSa"] = {
		body = [=[/castsequence reset=target Serpent Sting, null]=],
		class = "HUNTER",
		spec = 1,
	},
	["ArcSa"] = {
		body = [=[/castsequence reset=combat/5 Kill Command, Arcane Shot, Cobra Shot, Cobra Shot, Cobra Shot]=],
		class = "HUNTER",
		spec = 1,
	},
	["CDsBM"] = {
		body = [=[/cast [target=pettarget, exists] Focus Fire]=],
		nosound = true,
		class = "HUNTER",
		spec = 1,
	},
	["TGT2"] = {
		show = "Hunter's Mark",
		body = [=[/targetenemy [noexists][noharm][dead]
			/cast [nopet]Call Pet 2
			/castsequence [harm]reset=target Hunter's Mark, null
			/petpassive [target=pettarget,exists]
			/stopmacro [target=pettarget,exists]
			/petassist
			/petattack]=],
		blizzmacro = true,
		perChar = true,
		class = "HUNTER",
		spec = 2,
	},
	["MmR"] = {
		show = "Chimera Shot",
		body = [=[/click [noexists][noharm][dead] gotMacros_T1
			/click [combat, harm, nodead] gotMacros_CDsAll
			/click [modifier, combat, harm, nodead] gotMacros_RfRd
			/click [harm, nodead] gotMacros_RotB]=],
		blizzmacro = true,
		perChar = true,
		class = "HUNTER",
		spec = 2,
	},
	["RotB"] = {
		body = [=[/cast !Auto Shot
			/click gotMacros_SrSb
			/click gotMacros_ChmS
			/click gotMacros_ArcSb]=],
		nosound = true,
		class = "HUNTER",
		spec = 2,
	},
	["SrSb"] = {
		body = [=[/castsequence reset=target Serpent Sting, null]=],
		class = "HUNTER",
		spec = 2,
	},
	["ChmS"] = {
		body = [=[/castsequence reset=9.3 Chimera Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot]=],
		class = "HUNTER",
		spec = 2,
	},
	["ArcSb"] = {
		body = [=[/castsequence reset=3/combat Steady Shot, Steady Shot, Arcane Shot, Steady Shot, Steady Shot, Arcane Shot]=],
		class = "HUNTER",
		spec = 2,
	},
	["AimS"] = {
		show = "Aimed Shot",
		body = [=[/castsequence reset=2.56 Steady Shot, Steady Shot, !Aimed Shot]=],
		blizzmacro = true,
		perChar = true,
		class = "HUNTER",
		spec = 2,
	},
	["TGT3"] = {
		show = "Hunter's Mark",
		body = [=[/targetenemy [noexists][noharm][dead]
			/cast [nopet]Call Pet 2
			/castsequence [harm]reset=target Hunter's Mark, null
			/petpassive [target=pettarget,exists]
			/stopmacro [target=pettarget,exists]
			/petassist
			/petattack]=],
		blizzmacro = true,
		perChar = true,
		class = "HUNTER",
		spec = 3,
	},
	["SvR"] = {
		show = "Explosive Shot",
		body = [=[/click [noexists][noharm][dead] gotMacros_T1
			/click [combat, harm, nodead] gotMacros_CDsAll
			/click [modifier, combat, harm, nodead] gotMacros_RfRd
			/click [harm, nodead] gotMacros_RotC]=],
		blizzmacro = true,
		perChar = true,
		class = "HUNTER",
		spec = 3,
	},
	["RotC"] = {
		body = [=[/cast !Auto Shot
			/click gotMacros_SrSc
			/click gotMacros_ExpS
			/click gotMacros_BlkA]=],
		nosound = true,
		class = "HUNTER",
		spec = 3,
	},
	["SrSc"] = {
		body = [=[/castsequence reset=target Serpent Sting, null]=],
		class = "HUNTER",
		spec = 3,
	},
	["BlkA"] = {
		body = [=[/castsequence reset=23.3 Black Arrow, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot, !Auto Shot]=],
		class = "HUNTER",
		spec = 3,
	},
	["ExpS"] = {
		body = [=[/castsequence reset=5.6 Explosive Shot, Cobra Shot, Cobra Shot, Cobra Shot]=],
		class = "HUNTER",
		spec = 3,
	},
	["LnL"] = {
		show = "Explosive Shot",
		body = [=[/stopmacro [noharm][dead]
			/castsequence reset=1.62 Cobra Shot, Explosive Shot]=],
		nosound = true,
		blizzmacro = true,
		perChar = true,
		class = "HUNTER",
		spec = 3,
	}
}